var t = getApp();

Page({
    data: {
        titlew: "",
        content: ""
    },
    onLoad: function(t) {
        this.getUsable();
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {},
    getUsable: function() {
        var n = this, e = t.getNetAddresss("plugin.love.Frontend.Controllers.explain.index");
        t._getNetWork({
            url: e,
            success: function(t) {
                1 === t.data.result ? (n.setData({
                    content: t.data.data.content.replace(/\n/g, "<br>"),
                    titlew: t.data.data.title
                }), wx.setNavigationBarTitle({
                    title: t.data.data.title ? t.data.data.title : ""
                })) : wx.showToast({
                    title: t.data.msg,
                    icon: "none"
                });
            },
            fail: function(t) {
                console.log(t);
            }
        });
    }
});